package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TGymAgreement;
import com.esyoga.yoyoga.pojo.TGymAgreementExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TGymAgreementMapper {
    long countByExample(TGymAgreementExample example);

    int deleteByExample(TGymAgreementExample example);

    int deleteByPrimaryKey(Integer gaId);

    int insert(TGymAgreement record);

    int insertSelective(TGymAgreement record);

    List<TGymAgreement> selectByExample(TGymAgreementExample example);

    TGymAgreement selectByPrimaryKey(Integer gaId);

    int updateByExampleSelective(@Param("record") TGymAgreement record, @Param("example") TGymAgreementExample example);

    int updateByExample(@Param("record") TGymAgreement record, @Param("example") TGymAgreementExample example);

    int updateByPrimaryKeySelective(TGymAgreement record);

    int updateByPrimaryKey(TGymAgreement record);
}